package com.xiaoq.matrix.activity.entity;

import com.xiaoq.MongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.ArrayList;
import java.util.List;

@Entity(value="activity",noClassnameStored=true)
public class ActivityEntity extends MongoEntity{

	    private String title;  //活动标题
	    private String content; // 内容介绍
	    private List<String> tags = new ArrayList<>();  //活动标签
	    private Long startTime;  //活动开始时间
	    private Long endTime;    //活动结束时间
	    private String memo; // 备注
	    private String postUrl; // 活动海报地址
	    private String zoneProvince;// 区划省
	    private String zoneCity; // 区划市
	    private String zoneDistrict; // 区划区
	    private String orgnizerId; //活动组织者id
	    private String orgnizerName; //举办方名称
	    private String orgnizerInfo; // 主办方信息
	    private String orgnizerImgUrl; // 举办方图像
	    private String orgnizerType; // 举办方类型
	    private String attendMethod; //参与方式
	    private String contact; // 联系方式
	    private Double price;   //价格
	    private Integer maxParticipants; // 人数上限
	    private Integer minParticipants; // 人数下限
	    private String address;       //活动地址
	    private Double longitude; // 活动位置经度
	    private Double latitude; // 活动位置维度
	    private String status; // 状态(0已结束,1报名中) 
	    private String authStatus; // 状态 00未提交审核，10未审核，20审核成功，30审核失败
	    private String needOrder;//是否需要下单
	    private Long pubTime; // 首次发布时间
	    private List<String> recmReasons = new ArrayList<>(); // 推荐理由(可以有多个)
	    private Integer shareNum; //分享数量
	    private String managerId; //创建活动管理员Id
	    
	    
		public String getManagerId() {
			return managerId;
		}
		public void setManagerId(String managerId) {
			this.managerId = managerId;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getContent() {
			return content;
		}
		public void setContent(String content) {
			this.content = content;
		}
		public List<String> getTags() {
			return tags;
		}
		public void setTags(List<String> tags) {
			this.tags = tags;
		}
		public Long getStartTime() {
			return startTime;
		}
		public void setStartTime(Long startTime) {
			this.startTime = startTime;
		}
		public Long getEndTime() {
			return endTime;
		}
		public void setEndTime(Long endTime) {
			this.endTime = endTime;
		}
		public String getMemo() {
			return memo;
		}
		public void setMemo(String memo) {
			this.memo = memo;
		}
		public String getPostUrl() {
			return postUrl;
		}
		public void setPostUrl(String postUrl) {
			this.postUrl = postUrl;
		}
		public String getZoneProvince() {
			return zoneProvince;
		}
		public void setZoneProvince(String zoneProvince) {
			this.zoneProvince = zoneProvince;
		}
		public String getZoneCity() {
			return zoneCity;
		}
		public void setZoneCity(String zoneCity) {
			this.zoneCity = zoneCity;
		}
		public String getZoneDistrict() {
			return zoneDistrict;
		}
		public void setZoneDistrict(String zoneDistrict) {
			this.zoneDistrict = zoneDistrict;
		}
		public String getOrgnizerId() {
			return orgnizerId;
		}
		public void setOrgnizerId(String orgnizerId) {
			this.orgnizerId = orgnizerId;
		}
		public String getOrgnizerName() {
			return orgnizerName;
		}
		public void setOrgnizerName(String orgnizerName) {
			this.orgnizerName = orgnizerName;
		}
		public String getOrgnizerInfo() {
			return orgnizerInfo;
		}
		public void setOrgnizerInfo(String orgnizerInfo) {
			this.orgnizerInfo = orgnizerInfo;
		}
		public String getOrgnizerImgUrl() {
			return orgnizerImgUrl;
		}
		public void setOrgnizerImgUrl(String orgnizerImgUrl) {
			this.orgnizerImgUrl = orgnizerImgUrl;
		}
		public String getOrgnizerType() {
			return orgnizerType;
		}
		public void setOrgnizerType(String orgnizerType) {
			this.orgnizerType = orgnizerType;
		}
		public String getAttendMethod() {
			return attendMethod;
		}
		public void setAttendMethod(String attendMethod) {
			this.attendMethod = attendMethod;
		}
		public String getContact() {
			return contact;
		}
		public void setContact(String contact) {
			this.contact = contact;
		}
		public Double getPrice() {
			return price;
		}
		public void setPrice(Double price) {
			this.price = price;
		}
		public Integer getMaxParticipants() {
			return maxParticipants;
		}
		public void setMaxParticipants(Integer maxParticipants) {
			this.maxParticipants = maxParticipants;
		}
		public Integer getMinParticipants() {
			return minParticipants;
		}
		public void setMinParticipants(Integer minParticipants) {
			this.minParticipants = minParticipants;
		}
		public String getAddress() {
			return address;
		}
		public void setAddress(String address) {
			this.address = address;
		}
		public Double getLongitude() {
			return longitude;
		}
		public void setLongitude(Double longitude) {
			this.longitude = longitude;
		}
		public Double getLatitude() {
			return latitude;
		}
		public void setLatitude(Double latitude) {
			this.latitude = latitude;
		}
		public String getStatus() {
			return status;
		}
		public void setStatus(String status) {
			this.status = status;
		}
		public String getAuthStatus() {
			return authStatus;
		}
		public void setAuthStatus(String authStatus) {
			this.authStatus = authStatus;
		}
		public String getNeedOrder() {
			return needOrder;
		}
		public void setNeedOrder(String needOrder) {
			this.needOrder = needOrder;
		}
		public Long getPubTime() {
			return pubTime;
		}
		public void setPubTime(Long pubTime) {
			this.pubTime = pubTime;
		}
		public List<String> getRecmReasons() {
			return recmReasons;
		}
		public void setRecmReasons(List<String> recmReasons) {
			this.recmReasons = recmReasons;
		}
		public Integer getShareNum() {
			return shareNum;
		}
		public void setShareNum(Integer shareNum) {
			this.shareNum = shareNum;
		}
	    
	    
}
